package com.mytemplate;

public class ZMainTest {

	public static void main(String[] args) {
		System.out.println("我要办卡");
		BankBusinessAbstract handleCard = new HandleCard();
		handleCard.prepareHandleBusiness();
		System.out.println();
		
		System.out.println("我要转账");
		BankBusinessAbstract transferAccounts = new TransferAccounts();
		transferAccounts.prepareHandleBusiness();
		System.out.println();
		
		
		//自定义钩子函数-不需要实现第二步：填写资料；这样更加灵活
		System.out.println("我要取钱");
		BankBusinessAbstract drawMoney = new  DrawMoney();
		drawMoney.prepareHandleBusiness();
		System.out.println();
	}
}
